package cn.com.connext.scrm.web.rest.resp;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageImpl;

import java.io.Serializable;

public class QueryAnswerByTypeResp implements Serializable {
    private static final long serialVersionUID = -7391073083622780198L;

    private PageImpl page; //分页数据

    private QueryAnswerTypeResp queryAnswerTypeResp; //问答分类详情

    private Integer totalLikes;//点赞数

    private Integer totalComments;//评论数

    private Integer totalBrowseRecords;//浏览量

    public PageImpl getPage() {
        return page;
    }

    public void setPage(PageImpl page) {
        this.page = page;
    }

    public Integer getTotalLikes() {
        return totalLikes;
    }

    public void setTotalLikes(Integer totalLikes) {
        this.totalLikes = totalLikes;
    }

    public Integer getTotalComments() {
        return totalComments;
    }

    public void setTotalComments(Integer totalComments) {
        this.totalComments = totalComments;
    }

    public Integer getTotalBrowseRecords() {
        return totalBrowseRecords;
    }

    public void setTotalBrowseRecords(Integer totalBrowseRecords) {
        this.totalBrowseRecords = totalBrowseRecords;
    }

    public QueryAnswerTypeResp getQueryAnswerTypeResp() {
        return queryAnswerTypeResp;
    }

    public void setQueryAnswerTypeResp(QueryAnswerTypeResp queryAnswerTypeResp) {
        this.queryAnswerTypeResp = queryAnswerTypeResp;
    }
}
